import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import "./style/index.less";
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/dark/css-vars.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// 引入 echarts
let app = createApp(App);
// app.mount('#app')
// 全局挂载 echarts
app.use(router).use(ElementPlus,{
  locale: zhCn,
}).mount('#app');

//去掉警告
// app.config.warnHandler = () => null;